package cn.qianyan.dao;

import cn.qianyan.beans.UserRight;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MenuManaDao {

    public int updateMenu(UserRight userRight);//修改用户的权限

    public List<UserRight> showAll();//显示所有的角色权限

    public UserRight selectSingle(int uright);//查询单个，没有service层
}
